WeglotWP\Actions\Front\Translate_Page_Weglot A

Total Complexity 70
Dependencies 12
Dependents 0
Total lines 368
Lines of code 234
Logical lines of code 135
Comment lines 113
Methods 10
Properties 7

Methods 10

Method Rating Maintainability Complexity Lines of code
check_need_to_redirect()
A
54 13 18
weglot_custom_settings()
A
41 9 54
weglot_init()
A
47 10 34
hooks()
A
52 10 22
add_custom_templatefile()
A
52 8 23
no_translate_action_ajax()
A
49 7 32
prepare_request_uri()
S
53 6 22
weglot_href_lang()
S
60 4 14
prepare_rtl_language()
S
69 2 7
__construct()
S
66 1 8